package lg.minecraft.plugin.cobblemoncore.listener;

import lg.minecraft.plugin.cobblemoncore.util.CobblemonEventHandler;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.server.PluginDisableEvent;
import org.bukkit.plugin.Plugin;

/**
 * @author langle__
 * @version 1.0
 */
public class ServerEvent implements Listener {

    @EventHandler
    public void onPluginDisable(PluginDisableEvent event) {
        Plugin plugin = event.getPlugin();
        CobblemonEventHandler.unregisterCobblemonEvent(plugin);
    }

}
